Total Complexity | 36 |
Dependencies | 0 |
Dependents | 5 |
Total lines | 323 |
Lines of code | 166 |
Logical lines of code | 66 |
Comment lines | 62 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_cart_maximum_age() | 46 | 9 | 41 | |
get_age_restricted_products_in_cart() | 44 | 7 | 49 | |
validate_age_verification() | 61 | 4 | 12 | |
get_raw_user_meta() | 59 | 3 | 14 | |
get_minimum_age() | 73 | 3 | 4 | |
get_age_verification_session_data() | 62 | 2 | 12 | |
log() | 64 | 2 | 11 | |
is_global_age_verification_enabled() | 73 | 2 | 4 | |
should_include_age_verification() | 68 | 2 | 7 | |
is_age_verification_enabled() | 74 | 1 | 4 | |
get_age_options() | 66 | 1 | 8 |